import { createRouter, createWebHistory } from 'vue-router';
import Home from '../components/HelloWorld.vue';
import login from '../components/Login.vue';
import activityList from '../components/ActivityList.vue';


const routes = [
    {
        path: '/',
        name:'Home',
        component: Home
    },
    {
        path: '/login',
        name:'login',
        component: login
    },
    {
        path: '/activityList',
        name:'activityList',
        component: activityList
    },
];

const router = createRouter({
    history: createWebHistory(process.env.BASE_URL),
    routes
});

export default router;